﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Travel.BusinessLogic.Hotels
{
    class HotelProxy
    {
        HotelRentalReference.BookARoomWSClient hotelWS = null;

        public HotelProxy()
        {
            hotelWS = new HotelRentalReference.BookARoomWSClient("BookARoomWSPort3");
        }

        public String getHotel()
        {
            return hotelWS.getHotel();
        }

        public int?[] getRooms()
        {
            return hotelWS.getRooms();
        }

        public String bookByRoom(String from, String to, int room, String customer)
        {
            return hotelWS.bookByRoom(from, to, room, customer);
        }

        public String bookByDate(String from, String to, String customer)
        {
            return hotelWS.bookByDate(from, to, customer);
        }
    }
}
